public class To {
    public String name;
    public String day;
    public  To(String name,String day){
        this.day=day;
        this.name=name;
    }
    @Override
    public String toString() {
        return "" +
                "name='" + name + '\'' +
                ", day='" + day + '\''
                ;
    }
    public static void main(String[] args) {
        To to=new To("wancongyi","20050502");
        System.out.println(to);
    }
}
